<div class="image">
<div class="date"><?php ec($date); ?> - <span class="title"><?php ec($title); ?></span></div>
 <a href="./?id=<?php ec($postid); ?>" title="Permanent link to this post">#</a>
<img src="<?php ec($text) ?>" alt="<?php ec($title) ?>" >
<div class="imglink"><a href="<?php ec($text) ?>" title="<?php ec($text) ?>">Full image &raquo;</a></div>
</div>